package com.chenwang.measure.ui.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.chenwang.measure.R;
import com.chenwang.measure.model.bean.ServerBean;

import java.util.List;

/**
 * @松 on 2019/7/18 09:50
 *
 */
public class SourceAdapter extends BaseQuickAdapter <String,BaseViewHolder>{
    public SourceAdapter(@Nullable List<String> data) {
        super(R.layout.dialog_source_rv, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
               helper.setText(R.id.tv,item );

    }
}
